/**
 * 
 */
package com.tw.trips.service;

import java.util.Set;

import org.neo4j.helpers.collection.ClosableIterable;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.tw.trips.dao.TripsDAO;
import com.tw.trips.domain.Alert;
import com.tw.trips.domain.Trip;

/**
 * @author M1005264
 *
 */
@Service
@Transactional
public class TripsService {

	@Autowired
	private TripsDAO tripsDAO;
	
	public ClosableIterable<Trip> getTrips(){
		return tripsDAO.getAllTrips();
	}
	
	public Trip addAlertToTrip(Alert alert,Trip trip){
		return null;
	}

}
